import java.util.Scanner;
import java.util.*;
class Dog{
    public int age;
    public int weight;


    public Dog(int age, int weight) {
        this.age = age;
        this.weight = weight;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
    public Dog(){
        this(11,14);
        System.out.println(age+weight);
    }
}
class PetDog{
    public String name;
    public int age;
    public int weight;
    public void eat(){}
    public void bark(){}
    public void eat(String name,int weight){
        this.name=name;
        System.out.println(name+"  "+weight);
    }
}
public class Text {
    public static void main(String[] args) {
        PetDog dog=new PetDog();
        dog.name="dahuang";
        dog.age=1;
        dog.weight=100;
        dog.bark();
        dog.eat("yiyi",100);
        Dog dog1=new Dog();
        Scanner sca=new Scanner(System.in);


    }
}